/**
 * 
 */
package com.snapp.web.actions.mail;

import javax.servlet.http.HttpServletRequest;

import com.snapp.util.Postal;
import com.snapp.web.SNAppAction;

/**
 * Shoot me a quick email expressing interest in SNApp
 * 
 * @author kile
 *
 */
public class MailingListRequest extends SNAppAction{

	private static final String MY_EMAIL = "kile.niklawski@gmail.com";
	
	public String execute(HttpServletRequest req) {
		
		String from = req.getParameter("email");
		
		String subj = "SNApp:  New Mailing List Request";
		String msg = "From:\n\n"+from;
		
		Postal.send(subj, msg, MY_EMAIL);
		
		return NO_JSP_DISPATCH;
	}
}
